package org.lalib.controller.form;

import javax.faces.bean.SessionScoped;

import org.lalib.acquire.IControllerForm;
import org.lalib.entity.object.EUser;
import org.springframework.stereotype.Controller;

@SessionScoped
@Controller("cChangeUsernameAndPasswordForm")
public class CChangeUsernameAndPasswordForm implements IControllerForm {

	private static final long serialVersionUID = 1L;

	private EUser user;;
	private String username;
	private String password;

	public void clean() {
		user = null;
		username = "";
		password = "";
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public EUser getUser() {
		return user;
	}

	public void setUser(EUser user) {
		this.user = user;
	}
}